<template>
  <view class="mine-view">
    <view class="title-text">
      <view>积分</view>
      <view class="button-view">
        <i class="el-icon-arrow-right"></i>
        <view>到期失效积分</view>
      </view>
    </view>
    <view class="box-income">
      <view class="income-title"
        >合计
        <span style="color: #ff442f; font-size: 22px">500</span>
        积分到期失效，请及时兑换。</view
      >
      <view class="income-detail" v-for="(item, index) in 3" :key="index">
        <view class="income-detail-left">
          <image src="/static/pc/past-icon.png" class="income-image"></image>
          <view>
            <view class="income-detail-time">2024.01.20</view>
            <view class="income-detail-title">清空积分</view>
          </view>
        </view>
        <view class="income-detail-right">+30</view>
      </view>
      <el-button class="but-return">返回</el-button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>

<style scoped lang="scss">
.mine-view {
  width: 100%;
  background: white;
  padding: 48px 40px 219px 40px;
  min-height: 610px;
  .title-text {
    font-family: PingFangSC, PingFang SC;
    font-weight: 600;
    font-size: 20px;
    color: #1f0c00;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    @extend .row-start;
    .button-view {
      @extend .row-start;
      margin-left: 7px;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 18px;
      color: #b1a69f;
      line-height: 25px;
      text-align: left;
      font-style: normal;

      .el-icon-arrow-right {
        color: #b1a69f;
        margin-right: 7px;
        margin-top: 1px;
      }
    }
  }
  .box-income {
    padding: 6px 22px;
    .income-title {
      font-family: PingFangSC, PingFang SC;
      font-weight: 600;
      font-size: 18px;
      color: #2c1101;
      line-height: 25px;
      text-align: left;
      font-style: normal;
      padding: 15px 0;
    }
    .income-detail {
      display: flex;
      justify-content: space-between;
      padding: 15px 0;
      border-top: 1px solid #f7e8e4;
      align-items: center;
      line-height: 22px;
      .income-detail-left {
        font-family: PingFangSC, PingFang SC;
        font-weight: 600;
        font-size: 16px;
        color: #2c1101;
        line-height: 22px;
        text-align: left;
        font-style: normal;
        display: flex;
        .income-image {
          width: 14px;
          height: 14px;
          margin-top: 4px;
          margin-right: 7px;
        }
        .income-detail-title {
          color: #b8aca3;
          font-size: 14px;
          font-weight: 400;
        }
      }
      .income-detail-right {
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 16px;
        color: #00c86c;
        line-height: 22px;
        text-align: center;
        font-style: normal;
      }
    }
    .but-return {
      margin-top: 32px;
      width: 179px;
      height: 54px;
      background: #ffffff;
      border-radius: 4px;
      border: 1px solid #ff453b;
      color: #ff453b;
    }
  }
}
</style>